package main

import "github.com/garyburd/redigo/redis"

func main () {
	con , _ :=redis.Dial("tcp" , ":6379")
	con.Do("hset" , "tt" , "code" , "xiang" , "EX" , "5")
	con.Do("EXPIRE" , "tt" , 60)
}